package cn.demon.org.mapper;

import cn.demon.basic.mapper.BaseMapper;
import cn.demon.basic.util.PageList;
import cn.demon.org.domain.Department;
import cn.demon.org.domain.Employee;
import cn.demon.org.query.EmployeeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 部门Mapper接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void addEmployeeRole(@Param("id") Long id, @Param("rele_id") Long role_id);

    Employee loadByLogininfoId(Long id);

    PageList<Employee> list(Long shopId);
}